package com.gdhz.xiaohengqin.model;

import lombok.Data;

/**
 * @author Swallows
 * @date 2025-06-09 10:24
 */
@Data
public class PageParam {
    private Integer pageNum = 1;
    private Integer pageSize = 10;

    public long getOffset() {
        return (long) (pageNum - 1) * pageSize;
    }
}
